home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
FishMarket 1.0
/
FishMarket v1.0.iso
/
fishies
/
301-325
/
disk_324
/
dpfft
/
readme1
< prev
next >
Wrap
Text File
|
1992-05-06
|
7KB
|
145 lines
Some years ago I made an attempt to divert Amiga's
graphics-support to a signal-processing environment. My first objective
was a simple display for experimental data satisfying the following:
(i) "Paging" through lots of data
(ii) Comfortable scaling and presentation.
This piece of code represents an improvement of the program on disk 237.
It is considered to be Freeware in the usual sense.
This revision includes:
- A better filerequester (not 100% yet)
- A rastportdump
- Vertical "soft" scroll
- Gadgets in double menu requester
- "Soft" compress and expand of the data
- Customisation of the datawindow
This version is intended to become the basis for further developments
using the complex plane, FFT, filtering and systemdynamics. It has been
developed under WB1.3 on an A2000. It should work with all Amiga-
models. If certain routines are not 100% compatible with older WB-versions,
they surely will constitute minor deficiencies with respect to the overall
behaviour of the program since the standard libraries have been used.
Any suggestions or information about scientific software on the Amiga
is appreciated. I am particularly interested in a comfortable and
interactive display of theoretical concepts and of experimental data.
What can we learn from the "crash-boom-beng" people in order
to visualize or animate our physical data in a time or configurational
domain.
If you find this program useful and are interested in signalprocessing,
chaos or stochastic processes, send $10 (Europe $8) to:
A.A.Walma
Ziegelmattenstrasse 5
7800 FREIBURG
W-Germany
You'll become a registered user and I'll support the use by answering
questions and send you notice of other versions (In Germany you can contact
me under 0761-64832). Bugreports are welcome.
--------------------------------------------------------------------
DPLOT 2.0
(c) 1989 Alle Anne Walma
The program is started either from CLI by invoking "DPLOT <cr>"
or from the Workbench, where the icons are selfexplanatory. Double
klicking in the main window allows you to change the screen to PAL height.
DPLOT works within an integer-range of 0-10000. This
suffices for the usual 8-Bit and 12-Bit AD converters.
Negative values are accepted (-127/128 for instance) and shown at
a different color in the plotwindow (vertical scale).
Two examples of experimental data are included:
- sound = A soundtrack from an 8-Bit digitizer as the binary
example (100000 data with a sampling rate of ca 28 kHz)
- eeg = A sample of a 12-Bit brainwave digitalisation (10500
data at a sampling rate of 250 Hz)
The filerequester asks you for the total number of data to be read in.
With "starting index" is meant the first datum in the display (default
is one). If you have lots of data and not so much RAM, you may want to start
at 78000 for instance and put in 90000 for the "total number". RAM is only
needed for 12000 then.
With "redundancy" is meant the number of points you wish to ignore in case
of a very high sampling rate. Two points means that every third point is
taken into account.
NOK (="Not OK") brings you back to the main menu and with OK the first
datasamples are being displayed. The display is "pixeloriented". In
other words, each horizontal pixel represents a sampled value and each
vertical pixel an amplitude-unit. Reading in "eeg" shows what this
means since this signal varies in real amplitude from ca 2000-7000, whereas
the displayheight amounts to 200. You can measure this by rightklicking
the mouse if the cursor is in the displayfield ("klick and move").
The displayed number, in the title bar left, indicates the degree
of horizontal expansion. One stands for one horizontal pixel per datapoint.
The triangular gadgets at the right of it allow a modification of the
number of pixels per point.
With the horizontal arrows you can "page" through the data. A leftklick
on the next gadget changes the window allowing a faster "paging". More
to that, see below. RST means a reset of the data. If they disappear,
the horizontal and even more so the vertical potentiometer may bring
them back. Keeping the left-mouse button pressed and moving the
slider or just single klicks in the proportional gadgets will make this
clear to you.
Other gadgets appear by clicking twice the right mousebutton.
The first two (triangular) gadgets can be used to compress the amplitude
of the data. This maybe useful for very large amplitudes. More useful
is the next gadget. The data are now centered according to the largest
and smallest available amplitude. All these actions are taken into
account by the value in the titlebar ("klick left on OK and klick
right in the window") indicating the vertical amplitude.
With PRT a rastportdump can be made if a printer is connected.
A small requester is fired up. For printers with 9 needles
RDC reduces the picture in size by about a half. NOK allows
a retreat without action.
There are a number of ways to reduce the size of the printout.
In the first place there is RDC of course. Going back to the main
window, however, the size of the window can be custimized by
doubleklicking the right mousebutton and changing the windowsize
in the appearing requester. Finally, you may wish to use
preferences (WorkBench 1.3).
With MNU you leave the plotwindow and return to the main window.
OK lets the requester disappear.
The inactivated gadgets are used in the expanded window, where a fast
"paging" becomes possible. To that purpose the two horizontal
bars in the titlebar are klicked with the left mouse-button. De
abovementioned inactivated gadgets are now activated by means of a
right double-klick with the mousebutton and using them, more data
will be displayed. The more data,the larger the "page" and the faster
you will get an overall picture by means of the horizontal arrows in the
titlebar. If you have 4 fields of data in the window for instance, one klick
shows the next 4*618=2472 data. This can be checked by removing the
gadget (klick on OK) and klicking once with the right mouse-button somewhere
in the display field ("klick and move"). The display in the titlebar
shows you where you are.
You can freeze the vertical line somewhere by klicking the
right button one more time. Going back to the plotwindow (activate
horizontal bars in titlebar) shows that the plotted data start at this
chosen position. For an accurate datacut the freezing should be carried out
carefully (no fast moving around and keep the button pressed for a second).
--------------------------------------------------------------------